package com.example.demo.repository.jpa.impl;

import org.springframework.stereotype.Service;

import com.example.demo.domain.user.entity.User;
import com.example.demo.domain.user.repository.IUserRepo;
import com.example.demo.repository.jpa.UserJpaRepo;

import lombok.RequiredArgsConstructor;

 @Service
 @RequiredArgsConstructor
 public class UserRepoJpaImpl implements IUserRepo {

	 private final UserJpaRepo userJpaRepo = null;

	 @Override
	 public void saveUser(User user) {
		 userJpaRepo.save(user);
	 }
 }
